package com.zjhn.ds.domain.dto.pc;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @BelongsProject: ds_jlw
 * @BelongsPackage: com.zjhn.ds.domain.dto.pc
 * @Author: sxt
 * @CreateTime: 2023-12-12  13:43
 * @Description:
 * @Version: 1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PcMonitorDto {

    @ApiModelProperty("机台id")
    @JsonProperty("station_id")
    private String stationId;

    @ApiModelProperty("车间名称")
    private String workshop;

    @ApiModelProperty("分组名称")
    @JsonProperty("group_name")
    private String groupName;

    @ApiModelProperty("工位编码")
    @JsonProperty("station_code")
    private String stationCode;

    @ApiModelProperty("机台状态 0-关机 1-正常，2-待机，3-故障")
    private Integer status;

    @ApiModelProperty("款号")
    @JsonProperty("style_code")
    private String styleCode;

    @ApiModelProperty("颜色")
    @JsonProperty("color_main")
    private String colorMain;

    @ApiModelProperty("尺码")
    private String size;

    @ApiModelProperty("派工数")
    @JsonProperty("assign_qty")
    private BigDecimal assignQty;

    @ApiModelProperty("已完成数")
    @JsonProperty("finish_qty")
    private BigDecimal finishQty;

    @ApiModelProperty("机台进度")
    @JsonProperty("station_schedule")
    private BigDecimal stationSchedule;

    @ApiModelProperty("任务进度")
    @JsonProperty("task_schedule")
    private BigDecimal taskSchedule;

    @ApiModelProperty("任务状态 1-正常, 2-预警, 3-超产")
    @JsonProperty("task_status")
    private Integer taskStatus;

    @ApiModelProperty(value = "总货号")
    @JsonProperty("kh_style")
    private String khStyle;

    @ApiModelProperty(value = "订单号")
    @JsonProperty("trade_order_code")
    private String tradeOrderCode;

    @ApiModelProperty(value = "针数")
    private String needle;
}
